WooCommerce\PayPalCommerce\WcGateway\Helper\SettingsStatus S

Total Complexity 24
Dependencies 1
Dependents 8
Total lines 118
Lines of code 48
Logical lines of code 22
Comment lines 52
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
is_pay_later_button_enabled()
S
71 4 5
is_pay_later_button_enabled_for_location()
S
71 4 5
is_pay_later_messaging_enabled_for_location()
S
73 3 5
normalize_location()
S
67 3 9
is_enabled_for_location()
S
66 3 8
is_pay_later_messaging_enabled()
S
79 2 3
has_pay_later_messaging_locations()
S
74 2 4
is_smart_button_enabled_for_location()
S
70 2 6
__construct()
S
81 1 3